Produced by Araxis Merge on 2020-08-14 00:01:34 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Porto v3.2.3/Magento 2.x/Porto Theme/app/code/Mageplaza/LayeredNavigation/view/frontend/templates/layer | filter.phtml | 2018-10-10 20:33:22 +0000 |
| 2 | Porto v3.2.4/Magento 2.x/Porto Theme/app/code/Mageplaza/LayeredNavigation/view/frontend/templates/layer | filter.phtml | 2020-06-26 11:11:14 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 7 | 74 |
| Changed | 6 | 42 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | /** | 2 | /** | |||
| 3 | * Mageplaza | 3 | * Mageplaza | |||
| 4 | * | 4 | * | |||
| 5 | * NOTICE OF LICENSE | 5 | * NOTICE OF LICENSE | |||
| 6 | * | 6 | * | |||
| 7 | * This source file is subject to the Mageplaza.com license that is | 7 | * This source file is subject to the Mageplaza.com license that is | |||
| 8 | * available through the world-wide-web at this URL: | 8 | * available through the world-wide-web at this URL: | |||
| 9 | * https://www.mageplaza.com/LICENSE.txt | 9 | * https://www.mageplaza.com/LICENSE.txt | |||
| 10 | * | 10 | * | |||
| 11 | * DISCLAIMER | 11 | * DISCLAIMER | |||
| 12 | * | 12 | * | |||
| 13 | * Do not edit or add to this file if you wish to upgrade this extension to newer | 13 | * Do not edit or add to this file if you wish to upgrade this extension to newer | |||
| 14 | * version in the future. | 14 | * version in the future. | |||
| 15 | * | 15 | * | |||
| 16 | * @category Mageplaza | 16 | * @category Mageplaza | |||
| 17 | * @package Mageplaza_LayeredNavigation | 17 | * @package Mageplaza_LayeredNavigation | |||
| 18 | * @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | 18 | * @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/) | |||
| 19 | * @license https://www.mageplaza.com/LICENSE.txt | 19 | * @license https://www.mageplaza.com/LICENSE.txt | |||
| 20 | */ | 20 | */ | |||
| 21 | ?> | 21 | ||||
| 22 | <?php | |||||
| 23 | /** @type \Mageplaza\LayeredNavigation\Model\Layer\Filter\Attribute $filter */ | 22 | /** @type \Mageplaza\LayeredNavigation\Model\Layer\Filter\Attribute $filter */ | |||
| 24 | $filter = $this->getFilter(); | 23 | $filter = $this->getFilter(); | |||
| 25 | $attributeCode = $filter->getRequestVar(); | 24 | $attributeCode = $filter->getRequestVar(); | |||
| 26 | 25 | |||||
| 27 | /** @type \Mageplaza\Layerednavigation\Model\Layer\Filter $filterModel */ | 26 | /** @type \Mageplaza\Layerednavigation\Model\Layer\Filter $filterModel */ | |||
| 28 | $filterModel = $this->helper('\Mageplaza\LayeredNavigation\Helper\Data')->getFilterModel(); | 27 | $filterModel = $this->helper( | |||
| 29 | ?> | 28 | ?> | |||
| 30 | <ol class="items"> | 29 | <ol class="items"> | |||
| 31 | <?php /** @type $filterItem */ | 30 | <?php /** @type \Magento\Catalog\Model\Layer\Filter\Item[] $filterItems */ | |||
| 32 | foreach ($filterItems as $filterItem) | 31 | foreach ($filterItems as $filterItem) : ?> | |||
| 33 | <li class="item"> | 32 | <li class="item"> | |||
| 34 | <?php if ($filterModel->getIsSliderTypes($filter)) | 33 | <?php if ($filterModel->isSliderTypes($filter)) : ?> | |||
| 35 | <div id="ln_slider_container_<?php echo $attributeCode ?>" class="ln_slider_container"> | 34 | <div id="ln_slider_container_<?= /** @noEscape */ $attributeCode ?>" class="ln_slider_container"> | |||
| 36 | <div id="ln_slider_<?php echo $attributeCode ?>"></div> | 35 | <div id="ln_slider_<?= /** @noEscape */ $attributeCode ?>"></div> | |||
| 37 | <div id="ln_slider_text_<?php echo $attributeCode ?>"></div> | 36 | <div id="ln_slider_text_<?= /** @noEscape */ $attributeCode ?>"></div> | |||
| 38 | </div> | 37 | </div> | |||
| 39 | <?php else | 38 | <?php else : ?> | |||
| 40 | <?php if ($filterItem->getCount() > 0) | 39 | <?php if ($filterItem->getCount() > 0) : ?> | |||
| 41 | <input type="<?php echo $filterModel->isMultiple($filter) ? 'checkbox' : 'radio' ?>" <?php echo $filterModel->isSelected($filterItem) ? 'checked="checked"' : '' ?> /> | 40 | <input type="<?= /** @noEscape */ $filterModel->isMultiple($filter) ? 'checkbox' : 'radio' ?>" | |||
| 42 | <?php else | 41 | <?= /** @noEscape */ $filterModel->isMultiple($filter) ? '' : 'name="' . $filter->getRequestVar() . '"' ?> | |||
| 43 | <input type="<?php echo $filterModel->isMultiple($filter) ? 'checkbox' : 'radio' ?>" | 42 | <?= /** @noEscape */ $filterModel->isSelected($filterItem) ? 'checked="checked"' : '' ?> /> | |||
| 43 | <?php else : ?> | |||||
| 44 | <input type="<?= /** @noEscape */ $filterModel->isMultiple($filter) ? 'checkbox' : 'radio' ?>" | |||||
| 44 | disabled="disabled"/> | 45 | disabled="disabled"/> | |||
| 45 | <?php endif; ?> | 46 | <?php endif; ?> | |||
| 46 | <a href="<?php echo $block->escapeUrl($filterModel->getItemUrl($filterItem)) ?>"> | 47 | <a href="<?= /** @noEscape */ $block->escapeUrl($filterModel->getItemUrl($filterItem)) ?>"> | |||
| 47 | <?php echo $filterItem->getLabel() ?> | 48 | <?= /** @noEscape */ $filterItem->getLabel() ?> | |||
| 48 | <?php if ($filterModel->isShowCounter($filter)) | 49 | <?php if ($filterModel->isShowCounter($filter)) : ?> | |||
| 49 | <span class="count"><?php echo $filterItem->getCount() ?><span | 50 | <span class="count"><?= /** @noEscape */ $filterItem->getCount() ?> | |||
| 50 | class="filter-count-label"><?php echo ($filterItem->getCount() == | 51 | <span class="filter-count-label"> | |||
| 52 | | |||||
| 53 | </span> | |||||
| 54 | </span> | |||||
| 51 | <?php endif; ?> | 55 | <?php endif; ?> | |||
| 52 | </a> | 56 | </a> | |||
| 53 | <?php endif; ?> | 57 | <?php endif; ?> | |||
| 54 | </li> | 58 | </li> | |||
| 55 | <?php endforeach ?> | 59 | <?php endforeach ?> | |||
| 56 | </ol> | 60 | </ol> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.